/*
 * @Author: zhao.dp
 * @Date: 2022-08-31 13:44:26
 * @LastEditors: zhao.dp
 * @LastEditTime: 2022-08-31 14:36:21
 * @Description:
 */
import { mkdir } from 'node:fs/promises'
import path from 'path'
export function mkdirAction(answers) {
  const dir = path.join(answers.path, answers.name)
  return mkdir(dir).then(() => `${dir} 文件夹已创建`)
}
